import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import VueAxios from 'vue-axios'

import ViewUI from 'view-design';
import 'view-design/dist/styles/iview.css';

import './permission' // permission control

Vue.use(ViewUI);
Vue.use(VueAxios, axios)

Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App),
})